package com.alks.function.service.biocontrol.deptwork;

import com.alks.entity.data.entity.CpCutInfo;
import com.alks.entity.data.entity.CpCutPart;
import com.alks.entity.data.entity.CpCutStyle;
import com.alks.entity.data.response.ResponseInfo;

import java.util.List;

public interface ICpCutService {
    ResponseInfo getCpCutQuery(String style);

    ResponseInfo cpCutAdd(CpCutInfo request);

    ResponseInfo cpCutUp(CpCutInfo request, String slipFlag, String cutNoOld);

    ResponseInfo cpCutDel(String slipFlag, String cutNo);

    ResponseInfo getCpCutDetQuery(String cutNo);

    ResponseInfo cpCutDetAdd(CpCutPart request);

    ResponseInfo cpCutDetUp(CpCutPart request, String slipFlag, String cutNoOld, String partNoOld);

    ResponseInfo cpCutDetDel(String slipFlag, String cutNo, String partNo);

    ResponseInfo getCpCutStyleQuery(String cutNo);

    ResponseInfo cpCutStyleAdd(List<String> style, String cutNo);

    ResponseInfo cpCutStyleUp(CpCutStyle request, String cutNoOld, String styleOld);

    ResponseInfo cpCutStyleDel(String cutNo, String style);

    /**
     * 判断冲刀号是否存在
     * @param cutNoList 冲刀号集合
     */
    void cutNoCheck(List<String> cutNoList);

    /**
     * 判断冲刀号是否存在
     * @param cutNo 冲刀号
     */
    void cutNoCheck(String cutNo);

}
